package com.xueyi.starter.redis;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * mongodb自定义配置
 */
@ConfigurationProperties(prefix = "redis.pool")
@Data
@Component
public class RedisConfigProperties {

    private int maxActive;

    private int maxIdle;

    private int minIdle;

    private long maxWaitMillis;

    private String host;

    private Integer port;

    private String password;

    private Integer timeout;



}
